#include <iostream>
#include <stdio.h>
#include <cmath>
#include <assert.h>
#include "cube/cube.h"
using namespace std;
int main(){
    int n;
    bool enable_flatten_vertex_id;
    // 216 ^ 3 > 10000000
    std:: cout << Solution::get_num() << std::endl;
    while(true){
        std::cin >> n;
        std::cin >> enable_flatten_vertex_id;
        if(n >= 1) break; 
    }
    printf("param n is %d\n", n);
    try
    {
        Cube* c_ptr = new Cube(n, enable_flatten_vertex_id);
        c_ptr->fill_till_n_times();
    }
    catch(const std::exception& e)
    {
        std::cout << "don't pass the vertex restriction !!!";
    }
    return 0;
}